<template>
    <div :class="`${PREFIX}`">
        <Carditem v-for="(item,index) in list" :key="index" :item="item"/>
    </div>
</template>
<script setup>
const PREFIX = 'Cardlist'
import Carditem from './Carditem.vue'
defineProps({
    list: {
        type: Array,
        default: []
    }
})
</script>
<style lang="less">
.Cardlist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
</style>